package com.ruoyi.common.viewmodel;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 试卷列表对象 t_exam_paper
 *  自己设计的vo类，发现有些问题不太好解决，除了部分地方还在用，其他地方就改用学之思的viewmodel了
 * @author ruoyi
 * @date 2023-06-25
 */
public class ExamPaperVo extends BaseEntity{

    /** 主键 */
    private Long id;

    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String name;

    /** 试卷类型 */
    @Excel(name = "试卷类型")
    private Long paperType;

    /** 试卷总分 */
    @Excel(name = "试卷总分")
    private Long score;

    /** 题目数量 */
    @Excel(name = "题目数量")
    private Long questionCount;

    /** 试卷时长(分钟) */
    @Excel(name = "试卷时长(分钟)")
    private Long finishTime;

    /** 时段试卷 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时段试卷 开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date limitStartTime;

    /** 时段试卷 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时段试卷 结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date limitEndTime;

    /** 试卷内容，具体题目信息 */
    private String frameTextContent;

    /** 是否删除 0.未删除 1.删除 */
    private Long deleted;

    @Override
    public String toString() {
        return "ExamPaperVo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", paperType=" + paperType +
                ", score=" + score +
                ", questionCount=" + questionCount +
                ", finishTime=" + finishTime +
                ", limitStartTime=" + limitStartTime +
                ", limitEndTime=" + limitEndTime +
                ", frameTextContent='" + frameTextContent + '\'' +
                ", deleted=" + deleted +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPaperType() {
        return paperType;
    }

    public void setPaperType(Long paperType) {
        this.paperType = paperType;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public Long getQuestionCount() {
        return questionCount;
    }

    public void setQuestionCount(Long questionCount) {
        this.questionCount = questionCount;
    }

    public Long getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Long finishTime) {
        this.finishTime = finishTime;
    }

    public Date getLimitStartTime() {
        return limitStartTime;
    }

    public void setLimitStartTime(Date limitStartTime) {
        this.limitStartTime = limitStartTime;
    }

    public Date getLimitEndTime() {
        return limitEndTime;
    }

    public void setLimitEndTime(Date limitEndTime) {
        this.limitEndTime = limitEndTime;
    }

    public String getFrameTextContent() {
        return frameTextContent;
    }

    public void setFrameTextContent(String frameTextContent) {
        this.frameTextContent = frameTextContent;
    }

    public Long getDeleted() {
        return deleted;
    }

    public void setDeleted(Long deleted) {
        this.deleted = deleted;
    }
}
